<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<jsp:include page="common/jsp/taglibs.jsp"/>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <link href="${ctx}images/ico/system.ico" mce_href="favicon.ico" rel="bookmark" type="image/x-icon" />
    <link href="${ctx}images/ico/system.ico" mce_href="favicon.ico" rel="icon" type="image/x-icon" />
    <link href="${ctx}images/ico/system.ico" mce_href="favicon.ico" rel="shortcut icon" type="image/x-icon" />

    <title>产品质量追溯管理系统</title>
    <link rel="stylesheet" href="${ctx }css/login.css">
    <script type="text/javascript">
        //防止被加载到框架中
        if (self.location != top.location) {
            top.location = self.location;
        }
    </script>
</head>
<body>
<img style="width:100%;height:100%;" src="images/bg.png" alt=""/>
<div class="login">
    <div class="message">产品质量追溯管理系统</div>
    <div id="darkbannerwrap"></div>
    <form action="j_spring_security_check" method="post" name="loginForm" id="loginForm">
        <span class="span"></span>
        <input name="j_username" id="j_username" placeholder="用户名" required type="text">
        <hr class="hr15">
        <input name="j_password" id="j_password" placeholder="密码" required type="password">
        <hr class="hr15">
        <div class="check" style="position:relative;">
            <input name="checkCode" id="checkCode" placeholder="验证码" required type="text" maxlength="4"
                   style="width:250px;">
            <span id="span">
                    <img alt="看不清点我！" onclick="loadimage()" name="randImage" id="randImage"
                         src="${ctx}/common/jsp/code.jsp" style="vertical-align:middle;width:65px;height:33px;">
                </span>
        </div>
        <hr class="hr15">
        <label style="color:#ababab;">
            <input id="remember" name="remember" type="checkbox" style="margin-right:20px;"/>
            记住用户名和密码
        </label>
        <input value="登  录" style="width:100%;margin-top:15px;" type="button" id="btnLogin">
        <hr class="hr20">
    </form>
</div>
</body>
</html>
<script type="text/javascript" src="${ctx}common/js/jquery-1.12.4.js?version=${version}"></script>
<script type="text/javascript" src="${ctx}common/js/jquery.cookie.js?version=${version}"></script>
<script type="text/javascript" src="${ctx}common/js/jquery.query.js?version=${version}"></script>
<script type="text/javascript" src="${ctx}common/js/jquery.lock.js?version=${version}"></script>
<script type="text/javascript" src="${ctx}common/js/easing.js?version=${version}"></script>
<script type="text/javascript" src="${ctx}js/login.js?version=${version}"></script>